package pers.wz.consumer;


import pers.wz.api.IUserService;
import pers.wz.consumer.proxy.RpcClientProxy;
import pers.wz.pojo.User;

public class ClientBootStrapApplication {
    public static void main(String[] args) {
        IUserService userService = (IUserService) RpcClientProxy.createProxy(IUserService.class);
        User byId = userService.getById(1);
        System.out.println(byId);
    }
}
